<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="t" uri="http://xiaowo.me/tags"%>
<%@ taglib prefix="x" tagdir="/WEB-INF/tags"%>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="/WEB-INF/lib/jsp/main_head.jsp" />
<title>${entity.entityComment}</title>
<style type="text/css">
	
</style>
</head>
<body>
	<div class="list-header"> ${entity.entityComment}管理</div>
	<div class="ui divider"></div>
	<x:tableBar />
	
	<#assign first=true>
	<t:table data="${r"${"}${entityNameLower}s }" var="${entityNameLower}" action="${r"${"}actionKey }">
<#list entity.fields as field>
	<#if (first)>
		<#assign first=false>
		<t:column property="${field.fieldName}" title="${field.comment}" editable="true" />
	<#else>
		<t:column property="${field.fieldName}" title="${field.comment}" />
	</#if>
</#list>
	</t:table>
	
	<script type="text/javascript">
	$(function(){
		
	});
	</script>
</body>
</html>